//
//  HJVideoModel.h
//  project
//
//  Created by yefei on 2019/7/20.
//  Copyright © 2019 健健. All rights reserved.
//

#import <Foundation/Foundation.h>

NS_ASSUME_NONNULL_BEGIN
@class HJPlayerVideoDataSourceModel,YFUserModel;
@interface HJVideoModel : NSObject

/**
 关注
 */
@property (nonatomic, assign) BOOL concern;
@property (nonatomic, strong) NSString *albumId;
@property (nonatomic, strong) NSString *content;
@property (nonatomic, strong) NSString *praiseAmount;
@property (nonatomic, strong) NSString *likeAmount;
@property (nonatomic, strong) NSString *address;
@property (nonatomic, strong) NSString *longitude;
@property (nonatomic, strong) NSString *latitude;
@property (nonatomic, strong) NSString *time;
@property (nonatomic, strong) NSString *isPraise;
@property (nonatomic, strong) YFUserModel *user;
@property (nonatomic, strong) NSString *reviewAmount;
#pragma mark - 自定义属性
@property (nonatomic, assign) BOOL isVideo;

@property (nonatomic, strong) NSArray<HJPlayerVideoDataSourceModel *> *files;
@property (nonatomic, strong) HJPlayerVideoDataSourceModel * videoSource;
@property (nonatomic, strong) NSArray <NSString *> *imagesSource;
@end

NS_ASSUME_NONNULL_END

@interface HJPlayerVideoDataSourceModel : NSObject
@property (nonatomic, copy) NSString *thumbnail;
@property (nonatomic, copy) NSString *fileType;
@property (nonatomic, copy) NSString *url;
@property (nonatomic, copy) NSString *duration;

@end



@class YFUserModel,HJCommentModel;
@interface HJCommentModel : NSObject
@property (nonatomic, strong) NSArray <HJCommentModel *>*reviewList;
@property (nonatomic, copy) NSString *albumId;
@property (nonatomic, copy) NSString *content;
@property (nonatomic, strong) YFUserModel *formUser;
@property (nonatomic, copy) NSString *reviewId;
@property (nonatomic, copy) NSString *time;
@property (nonatomic, strong) YFUserModel *toUser;

/**
 cell 高度
 */
@property (nonatomic, assign) CGFloat cellHeight;

/**
 回复cell高
 */
@property (nonatomic, assign) CGFloat replyHeight;
/**
 计算后的内容
 */
@property (nonatomic, copy) NSAttributedString * contentAttribute;

@end
